$(function(){
			datagrid=$('#journal-datagrid').datagrid({
				url: contextpath+'/system/journal/query',
			    columns: [[
			                {field: 'levelName', title: '等级', width: 80},
			                {field: 'baseName', title: '名称 ', width: 200},
			                {field: 'fileSize', title: '大小', width: 80},
			                {field: 'path', title: '路径 ', width: 400},
			                {field: 'dateLog', title: '数据日志', width: 80},
			                {field: 'content', title: '备注', width: 80}
			            ]],
            	loadFilter:function(data){
	            	if(data.code==200){
	            		data.rows=data.data;	
	            		data.total=data.data.length;
	            	}else{
	            		data.total=0;
	            		data.rows=[];
	            	}
	            	return data;
            	}
			});
});